/**
 * Copyright &copy; 2013-2015 山东易科德软件有限公司   All rights reserved.
 */
package cn.net.ecode.modules.msg.entity;

import java.io.Serializable;
import java.util.List;

import org.directwebremoting.annotations.DataTransferObject;
import org.directwebremoting.annotations.RemoteProperty;

/**
 * 消息管理Entity
 * @author ThinkGem
 * @version 2014-12-16
 */
@DataTransferObject
public class MsgPush implements Serializable{
	private static final long serialVersionUID = 1L;
	
	@RemoteProperty
	private long count;					// 总数
	@RemoteProperty
	private List<MessageRecord> list;	// 记录
	@RemoteProperty
	private Message message;			// 所属消息
	
	public MsgPush() {
		super();
	}

	public MsgPush(Message message) {
		super();
		this.message = message;
	}

	public long getCount() {
		return count;
	}

	public void setCount(long count) {
		this.count = count;
	}

	public List<MessageRecord> getList() {
		return list;
	}

	public void setList(List<MessageRecord> list) {
		this.list = list;
	}

	public Message getMessage() {
		return message;
	}

	public void setMessage(Message message) {
		this.message = message;
	}

}